package alo.p3.work;

import alo.p3.ListNode;

import java.util.HashMap;

public class test {
    public static void main(String[] args) {
        ListNode s=new ListNode(12);
        HashMap<ListNode,Boolean> map=new HashMap<>();
        map.put(s,true);
        int i=s.hashCode();
        boolean a=map.containsKey(s);
        boolean b=map.containsKey(i);
        System.out.println(a);
        System.out.println(b);
    }
}
